
// WebGUIView.h : interface of the CWebGUIView class
//


#pragma once
class CMainFrame ;

class CWebGUIView : public CFormView
{
protected: // create from serialization only
	CWebGUIView();
	DECLARE_DYNCREATE(CWebGUIView)
	
public:
	enum{ IDD = IDD_WEBGUI_FORM };

// Attributes
public:
	CWebGUIDoc* GetDocument() const;

	CMainFrame *m_pFrame ;
// Operations
public:

	void UpdatePropertyView();
// Overrides
public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnInitialUpdate(); // called first time after construct

// Implementation
public:
	virtual ~CWebGUIView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	afx_msg void OnFilePrintPreview();
	afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
	DECLARE_MESSAGE_MAP()
	virtual void OnUpdate(CView* /*pSender*/, LPARAM /*lHint*/, CObject* /*pHint*/);
public:
	afx_msg void OnTimer(UINT_PTR nIDEvent);
	afx_msg void OnBnClickedStartrecord();
	afx_msg void OnBnClickedStopreord();
};

#ifndef _DEBUG  // debug version in WebGUIView.cpp
inline CWebGUIDoc* CWebGUIView::GetDocument() const
   { return reinterpret_cast<CWebGUIDoc*>(m_pDocument); }
#endif

